﻿<%@ Page Language="C#" CodeBehind="Default.aspx.cs" Inherits="BikeBouncer.Site.Default_aspx" MasterPageFile="/MainLayout.master" %>
<asp:Content ContentPlaceHolderID="MainContents" runat="server">
	<p>
		<asp:Literal meta:resourcekey="LitHowWorks" runat="server" />
		<asp:HyperLink NavigateUrl="/HowItWorks.aspx" meta:resourcekey="LinkHowWorks" runat="server" />
	</p>
	<h3><asp:Literal ID="LitHaveYouSeen" meta:resourcekey="LitHaveYouSeen" runat="server" /></h3>
	<div class="MainMissingItems">
		<asp:Repeater ID="ListMissingItems" OnItemDataBound="ListItems_ItemDataBound" runat="server">
			<ItemTemplate>
				<div class="MainItemPanel">
					<asp:Image ID="ImgItem" CssClass="MainItemPicture" BorderWidth="1px" runat="server" />
					<div>
						<h4><asp:Literal ID="LitItemTitle" runat="server" /></h4>
						<asp:Literal meta:resourcekey="LitItemStatus" runat="server" />
						<asp:Literal ID="LitItemStatus" runat="server" />!
						<br /><br />
						<asp:Literal meta:resourcekey="LitItemDate" runat="server" />
						<asp:Literal ID="LitItemDate" runat="server" />
						<br />
						<asp:Literal ID="LitItemLocation" runat="server" />
						<br /><br />
						<asp:HyperLink ID="LinkAddNote" CssClass="MainLinkNote" meta:resourcekey="LinkAddNote" runat="server" />
						<div style="clear:left"></div>
					</div>
				</div>
			</ItemTemplate>
		</asp:Repeater>
		<div class="MainMissingFooter">
			<asp:Literal meta:resourcekey="LitMissingFooter" runat="server" />
			<asp:HyperLink NavigateUrl="/Register.aspx" meta:resourcekey="LinkRegister" runat="server" />
		</div>
		<script type="text/javascript">
			$(".MainLinkNote").colorbox({ width: "600px", maxWidth: "95%", height: "500px", maxHeight: "95%", iframe: true });
		</script>
	</div>
	<h3><asp:Literal meta:resourcekey="LitSearchSerial" runat="server" /></h3>
	<div>
		<asp:Literal meta:resourcekey="LitSearchInfo" runat="server" />
		<br /><br />
		<asp:TextBox ID="TxtSearchSerial" CssClass="FormText" meta:resourcekey="TxtSearchSerial" runat="server" />
		<asp:Button ID="ButSearch" CssClass="FormButton" UseSubmitBehavior="false" OnClientClick="SearchItemBySerial();return false;" meta:resourcekey="ButSearch" runat="server" />
	</div>
</asp:Content>